#!/bin/bash
###############################################################################
##@Author Nicholas.Zhang
##@Date 2011-04-25
###############################################################################
BASE_BIN_DIR=`dirname $0`
cd $BASE_BIN_DIR
svn co http://192.168.0.107:8888/svn/repos/guoguojie/trunk/ guoguojie
cd guoguojie
mvn clean install -Dmaven.test.skip -Denv=release
cd guoguojie-deploy
cp target/guoguojie-deploy.jar /home/sumputest/app/guoguojie/
cp target/deploy/guoguojie-web.war /home/sumputest/app/guoguojie/
cd ../..
rm -rf guoguojie
cd /home/sumputest/app/guoguojie/
jar xf guoguojie-deploy.jar
chmod 755 -R bin
cd bin
./killws.sh;./startws.sh;



